﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
using System.Data.SqlClient;
using VOL;
using BLL;
using WebShoes.Class;
namespace WebShoes
{
    public partial class Default : System.Web.UI.Page
    {
        HangHoaBL _HangHoaBL = new HangHoaBL();
        GioHang _gioHang = new GioHang();
        protected void Page_Load(object sender, EventArgs e)
        {
            HangHoa _HangHoa = new HangHoa();
            Repeater1.DataSource = _HangHoaBL.GetData();
            Repeater1.DataBind();

            CollectionPager1.PageSize = 8;
            CollectionPager1.DataSource = _HangHoaBL.GetData().DefaultView;
            CollectionPager1.BindToControl = Repeater1;
            Repeater1.DataSource = CollectionPager1.DataSourcePaged;
        }
    }
}